package org.zp.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.zp.pojo.AddressInfo;
import org.zp.vo.FindAddressVo;

public interface AddressMapper {
/**
 * 获得省集合
 * @return
 */
	List<AddressInfo> selectAddressOne();
/**
 * 获得市的集合
 * @param fid
 * @return
 */
	List<AddressInfo> getaddressTow(@Param("fid") Integer fid);
	/**
	 * 获得该用户所在位置
	 * @param uid
	 * @param areaid
	 * @param cityid
	 * @return
	 */
FindAddressVo findAddress(@Param("uid") Integer uid, 
		@Param("areaid") Integer areaid, 
		@Param("cityid") Integer cityid);

/**
 * 获得该网点经纬度
 * @param three1
 * @return
 */
AddressInfo getaddressln(@Param("three1") Integer three1);


}
